﻿@using InnovaApp.Layers.ResourcesLayer.Properties
@model InnovaApp.Portals.MVC4Portal.Models.MetaModels.ContactManagement.ContactAddress_MetaModel
<div class="notDisplayed">
    @Html.TextBoxFor(m => m.Id, new { @class = "k-input" })
</div>
<ol>
    <li class="AddresTypes">
        <label>
            Post</label>@Html.CheckBoxFor(m => m.IsPostAddress)
        <label>
            Delivery</label>@Html.CheckBoxFor(m => m.IsDeliveryAddress)
        <label>
            Invoicing</label>@Html.CheckBoxFor(m => m.IsInvoicingAddress)
    </li>
    <li>
        @Html.LabelFor(m => m.Address_1)
        @Html.TextBoxFor(m => m.Address_1, new { @class = "k-input" }) @Html.ValidationMessageFor(m => m.Address_1)
        @Html.LabelFor(m => m.Address_2)
        @Html.TextBoxFor(m => m.Address_2, new { @class = "k-input" }) @Html.ValidationMessageFor(m => m.Address_2)
        @Html.LabelFor(m => m.Address_3)
        @Html.TextBoxFor(m => m.Address_3, new { @class = "k-input" }) @Html.ValidationMessageFor(m => m.Address_3)
    </li>
    <li>
        <div class="ZipCode">
            @Html.LabelFor(m => m.ZipCode)
            @Html.TextBoxFor(m => m.ZipCode, new { @class = "k-input" })
            @Html.ValidationMessageFor(m => m.ZipCode)
        </div>
        <div class="Town">
            @Html.LabelFor(m => m.Town)
            @Html.TextBoxFor(m => m.Town, new { @class = "k-input" })
            @Html.ValidationMessageFor(m => m.Town)
        </div>
        <div class="Cedex">
            @Html.LabelFor(m => m.Cedex)
            @Html.TextBoxFor(m => m.Cedex, new { @class = "k-input" })
            @Html.ValidationMessageFor(m => m.Cedex)
        </div>
    </li>
    <li>
        @Html.LabelFor(m => m.Country)
        @Html.TextBoxFor(m => m.Country, new { @class = "k-input" })
        @Html.ValidationMessageFor(m => m.Country)
    </li>
</ol>
<div class="divButtons rightForm">
    <input type="submit" id="cmdOk" value="@Resources.View_AdvancedSamples_AddressesManagement_cmdOk" />
    <input type="reset" id="cmdCancel" value="@Resources.View_AdvancedSamples_AddressesManagement_cmdCancel" />
    <input type="submit" id="cmdDelete" value="@Resources.View_AdvancedSamples_AddressesManagement_cmdDelete" />
</div>
